The 'DataGridSetCellBackColor' function changes the background color of specified cell on DataGrid object.
void @DataGridSetCellBackColor(string class_name, string column_name, int row_pos, int color);
Parameters
string class_name : Class name of DataGrid object.
string column_name : Column name
int row_pos : Row number
int color : Color value
Return Value
None
Example
color = @RGB(255, 0, 0)
@DataGridSetCellBackColor("DataGrid1", "ID", 1, color);
Description : It changes the background color of specified cell at DataGrid object 'DataGrid1', as red.
Version Information
Supported Version :